package com.code.AZPlan.model.bo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户资产对象
 *
 * @author tangyifei
 * @since 2020年1月8日11:26:11
 */
@ApiModel("用户资产对象")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class UserAsset implements Serializable {

    private static final long serialVersionUID = -3577419262888305949L;

    @ApiModelProperty(value = "用户主键", example = "XXXXXX")
    private String userId;

    @ApiModelProperty(value = "用户账号", example = "XXXXXX")
    private String userAccount;

    @ApiModelProperty(value = "提币操作状态（1禁止 0放行）", example = "1")
    private Integer withdrawOperateState;

    @ApiModelProperty(value = "站内转账操作状态（1禁止 0放行）", example = "1")
    private Integer inSiteTransferInOperateState;

    @ApiModelProperty(value = "用户类型", example = "NORMAL")
//    @EnumValue(enumClass = UserTypeEnum.class, enumMethod = "isValidName")
    private String userType;

    @ApiModelProperty(value = "钱包xwc余额", example = "0.00")
    private BigDecimal xwcWalletBalance;

    @ApiModelProperty(value = "钱包btc余额", example = "0.00")
    private BigDecimal btcWalletBalance;

    @ApiModelProperty(value = "钱包usdt余额", example = "0.00")
    private BigDecimal usdtWalletBalance;

    @ApiModelProperty(value = "账户额度（矿池大小）", example = "0.00")
    private BigDecimal orePool;

    @ApiModelProperty(value = "az计划xwc余额", example = "0.00")
    private BigDecimal xwcAzBalance;

    @ApiModelProperty(value = "az计划btc余额", example = "0.00")
    private BigDecimal btcAzBalance;

    @ApiModelProperty(value = "总的静态收益", example = "0.00")
    private BigDecimal totalStaticIncome;

    @ApiModelProperty(value = "总的动态收益", example = "0.00")
    private BigDecimal totalDynamicIncome;

    @ApiModelProperty(value = "总的兑换", example = "0.00")
    private BigDecimal totalExchangeAmount;
}
